DX11 GET WINDOW WIDTH
Retrieves the current width, in pixels, of the render window.
Take note that this width includes that of any window borders. This value can be used in conjunction with DX11 GET DESKTOP WIDTH
to center the window horizontally in the middle of the screen.
Take note that the return value of this function isn't trustable if in fullscreen mode.
Return Dword = DX11 GET WINDOW WIDTH()
This function does not take any parameters.
The current width of the render window, in pixels. The size of the window can be changed by the user by dragging its borders, maximizing it, etc. so if you allow this the size may change at runtime.
DISPLAY Functions Menu
DX11 Function Categories